<%@page import="com.card.user.*"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@include file="m_head.jsp" %>
<body>
<%
	
	List<Julebu> julebus = JulebuManager.getInstance().getJulebus(admin);
%>

<div data-role="page" id="demo-page">
    <div data-role="header">
   <h1>俱乐部</h1>
      
        <a href="#myPanel" data-icon="bars"  data-shadow="false" data-iconshadow="false">菜单</a>
    </div>
    <div role="main" class="ui-content">
		<ul data-role="listview" data-inset="true" data-filter="true"
				data-filter-placeholder="搜索">
				<%
					for (int i = 0; i < julebus.size(); i++) {
						Julebu advice = julebus.get(i);
						List<User> lists = UserUtils.getJulebuUsers(advice.getGuanliyuanid());
				%>
				<li>代理列表</li>
				<li><a href="m_julebu_add.jsp?id=<%=advice.getId()%>">
						<h4>
							俱乐部名字：<%=advice.getName()%>
						</h4>
						 <p>俱乐部id：<%=advice.getId()%></p>
						<p>俱乐部管理员：<%=advice.getGuanliyuanid()%></p>
						<p>俱乐部人数：<%=lists.size()%></p> 
				
				</a></li>
				<%
					}
				%>
			</ul>
    </div>
    <%@include file="m_order.jsp"%>
    <div data-role="footer" data-position="fixed">
		<div data-role="navbar">
			<ul>
				<li><a href="m_julebu_add.jsp" rel="external">添加俱乐部</a></li>
			</ul>
		</div>		
	</div>
</div>

</body>
</html>
